package com.xiaoke.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GetArticleVo {
    private Long id;
    //分类ID
    private Integer categoryid;
    //文章标题
    private String title;
    //文章内容
    private String content;
    //浏览
    private Long browse;
    // 文章分类
    private  String categoryName;
    // 标签列表
    private List TagList;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")

    private Date updateTime;
}
